package login;

import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import javax.swing.JRadioButton;
import java.awt.Insets;
import javax.swing.JTextField;
import javax.swing.JCheckBox;
import javax.swing.JButton;

public class OptionsPanel extends JPanel {
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Create the panel.
	 */
	public OptionsPanel() {
		GridBagLayout gridBagLayout = new GridBagLayout();
		gridBagLayout.columnWidths = new int[]{89, 82, 88, 88, 0};
		gridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		setLayout(gridBagLayout);
		
		JRadioButton rdbtnBeginer = new JRadioButton("Beginer");
		GridBagConstraints gbc_rdbtnBeginer = new GridBagConstraints();
		gbc_rdbtnBeginer.fill = GridBagConstraints.BOTH;
		gbc_rdbtnBeginer.insets = new Insets(0, 0, 5, 5);
		gbc_rdbtnBeginer.gridx = 0;
		gbc_rdbtnBeginer.gridy = 1;
		add(rdbtnBeginer, gbc_rdbtnBeginer);
		
		JRadioButton rdbtnCustom = new JRadioButton("Custom");
		GridBagConstraints gbc_rdbtnCustom = new GridBagConstraints();
		gbc_rdbtnCustom.insets = new Insets(0, 0, 5, 5);
		gbc_rdbtnCustom.gridx = 1;
		gbc_rdbtnCustom.gridy = 1;
		add(rdbtnCustom, gbc_rdbtnCustom);
		
		JRadioButton rdbtnNewRadioButton = new JRadioButton("Medium");
		GridBagConstraints gbc_rdbtnNewRadioButton = new GridBagConstraints();
		gbc_rdbtnNewRadioButton.fill = GridBagConstraints.BOTH;
		gbc_rdbtnNewRadioButton.insets = new Insets(0, 0, 5, 5);
		gbc_rdbtnNewRadioButton.gridx = 0;
		gbc_rdbtnNewRadioButton.gridy = 2;
		add(rdbtnNewRadioButton, gbc_rdbtnNewRadioButton);
		
		JLabel lblHeigh = new JLabel("Heigh");
		GridBagConstraints gbc_lblHeigh = new GridBagConstraints();
		gbc_lblHeigh.fill = GridBagConstraints.VERTICAL;
		gbc_lblHeigh.insets = new Insets(0, 0, 5, 5);
		gbc_lblHeigh.gridx = 1;
		gbc_lblHeigh.gridy = 2;
		add(lblHeigh, gbc_lblHeigh);
		
		textField = new JTextField();
		GridBagConstraints gbc_textField = new GridBagConstraints();
		gbc_textField.insets = new Insets(0, 0, 5, 5);
		gbc_textField.fill = GridBagConstraints.HORIZONTAL;
		gbc_textField.gridx = 2;
		gbc_textField.gridy = 2;
		add(textField, gbc_textField);
		textField.setColumns(10);
		
		JRadioButton rdbtnHard = new JRadioButton("Hard");
		GridBagConstraints gbc_rdbtnHard = new GridBagConstraints();
		gbc_rdbtnHard.fill = GridBagConstraints.BOTH;
		gbc_rdbtnHard.insets = new Insets(0, 0, 5, 5);
		gbc_rdbtnHard.gridx = 0;
		gbc_rdbtnHard.gridy = 3;
		add(rdbtnHard, gbc_rdbtnHard);
		
		JLabel lblNewLabel = new JLabel("Width");
		GridBagConstraints gbc_lblNewLabel = new GridBagConstraints();
		gbc_lblNewLabel.fill = GridBagConstraints.VERTICAL;
		gbc_lblNewLabel.insets = new Insets(0, 0, 5, 5);
		gbc_lblNewLabel.gridx = 1;
		gbc_lblNewLabel.gridy = 3;
		add(lblNewLabel, gbc_lblNewLabel);
		
		textField_1 = new JTextField();
		GridBagConstraints gbc_textField_1 = new GridBagConstraints();
		gbc_textField_1.insets = new Insets(0, 0, 5, 5);
		gbc_textField_1.fill = GridBagConstraints.BOTH;
		gbc_textField_1.gridx = 2;
		gbc_textField_1.gridy = 3;
		add(textField_1, gbc_textField_1);
		textField_1.setColumns(10);
		
		JCheckBox chckbxPlaySound = new JCheckBox("Play Sound");
		GridBagConstraints gbc_chckbxPlaySound = new GridBagConstraints();
		gbc_chckbxPlaySound.fill = GridBagConstraints.BOTH;
		gbc_chckbxPlaySound.insets = new Insets(0, 0, 5, 5);
		gbc_chckbxPlaySound.gridx = 0;
		gbc_chckbxPlaySound.gridy = 5;
		add(chckbxPlaySound, gbc_chckbxPlaySound);
		
		JLabel lblStyle = new JLabel("Style");
		GridBagConstraints gbc_lblStyle = new GridBagConstraints();
		gbc_lblStyle.fill = GridBagConstraints.VERTICAL;
		gbc_lblStyle.insets = new Insets(0, 0, 5, 5);
		gbc_lblStyle.gridx = 0;
		gbc_lblStyle.gridy = 6;
		add(lblStyle, gbc_lblStyle);
		
		JRadioButton rdbtnA = new JRadioButton("Window");
		GridBagConstraints gbc_rdbtnA = new GridBagConstraints();
		gbc_rdbtnA.insets = new Insets(0, 0, 5, 5);
		gbc_rdbtnA.gridx = 1;
		gbc_rdbtnA.gridy = 6;
		add(rdbtnA, gbc_rdbtnA);
		
		JRadioButton rdbtnB = new JRadioButton("Nimbius");
		GridBagConstraints gbc_rdbtnB = new GridBagConstraints();
		gbc_rdbtnB.insets = new Insets(0, 0, 5, 5);
		gbc_rdbtnB.gridx = 2;
		gbc_rdbtnB.gridy = 6;
		add(rdbtnB, gbc_rdbtnB);
		
		JRadioButton rdbtnMetal = new JRadioButton("Metal");
		GridBagConstraints gbc_rdbtnMetal = new GridBagConstraints();
		gbc_rdbtnMetal.insets = new Insets(0, 0, 5, 0);
		gbc_rdbtnMetal.gridx = 3;
		gbc_rdbtnMetal.gridy = 6;
		add(rdbtnMetal, gbc_rdbtnMetal);
		
		JButton btnOk = new JButton("OK");
		GridBagConstraints gbc_btnOk = new GridBagConstraints();
		gbc_btnOk.fill = GridBagConstraints.BOTH;
		gbc_btnOk.insets = new Insets(0, 0, 0, 5);
		gbc_btnOk.gridx = 1;
		gbc_btnOk.gridy = 8;
		add(btnOk, gbc_btnOk);
		
		JButton btnCancel = new JButton("Cancel");
		GridBagConstraints gbc_btnCancel = new GridBagConstraints();
		gbc_btnCancel.fill = GridBagConstraints.BOTH;
		gbc_btnCancel.insets = new Insets(0, 0, 0, 5);
		gbc_btnCancel.gridx = 2;
		gbc_btnCancel.gridy = 8;
		add(btnCancel, gbc_btnCancel);

	}

}
